<template>
  <el-row>
    <BigData
        v-if="currPageNum===1"
        :currTabNum="currTabNum"
    />
    <BlackBoard
        :currTabNum="currTabNum"
        v-if="currPageNum===2"
    />
    <Work
        v-if="currPageNum===3"
        :currTabNum="currTabNum"
    />
  </el-row>
</template>

<script>
// ------------- 自定义组件 --------------
import BlackBoard from "./blackBroad/index"
import Work from "./work/index"
import BigData from "./bigData/index"

export default {
  components: {
    BlackBoard, Work, BigData
  },
  props: {
    currTabNum: {
      type: Number,
      default: 1
    },
    currPageNum: {
      type: Number,
      default: 1
    }
  }
}
</script>

<style scoped>

</style>